<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_users
 * @copyright	Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 * @since		1.5
 */

defined('_JEXEC') or die;

JHtml::_('behavior.keepalive');
JHtml::_('behavior.tooltip');
JHtml::_('behavior.formvalidation');

$page_heading = JText::_('WRD_USER_RESET_FORGOT_PASSWORD');
$title = JText::_('WMCVIP_TITLE_PREFIX').$page_heading.JText::_('WMCVIP_TITLE_SUFIX');
$document = &JFactory::getDocument();
$document->setTitle($title) ;

?>
<h4><strong><?php echo $page_heading; ?></strong></h4>
<div class="reset<?php echo $this->pageclass_sfx?>">
	<form role="form" id="user-registration" action="<?php echo JRoute::_('index.php?option=com_users&task=reset.request'); ?>" method="post" class="form-validate">
		<?php foreach ($this->form->getFieldsets() as $fieldset): ?>
		<p class="help-block"><?php echo JText::_($fieldset->label); ?></p>

		<div class="form-group">
		<?php foreach ($this->form->getFieldset($fieldset->name) as $name => $field): ?>
			
			<label><?php echo $field->label; ?></label>
			<?php echo $field->input; ?>
			
		<?php endforeach; ?>
		</div>

		<?php endforeach; ?>
		<div class="pull-right">
			<button class="btn btn-wmc" type="submit" class="validate"><?php echo JText::_('JSUBMIT'); ?></button>
		</div>
		<?php echo JHtml::_('form.token'); ?>
		
		</div>
	</form>
	<br clear="all">
	<br>
	<br>
</div>
